package com.hhit.bigscreenbackmanage.dao.aqgl;

import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglDrrygkTemp;
import com.hhit.bigscreenbackmanage.entity.aqgl.TJjResourcePeakPersonNum;
import com.hhit.bigscreenbackmanage.vo.aqgl.AqglSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AqglDrrygkTempDao {

    /**
     * @Description: 保存当日人员管控数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 15:14
     * @Param: [tAqglDrrygkTemp] 
     * @Return: int
     **/
    int saveAqglDrrygkTempInfo(TAqglDrrygkTemp tAqglDrrygkTemp) throws Exception;

    /**
     * @Description: 批量保存当日人员管控数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 18:14
     * @Param: [aqglDrrygkTempList] 
     * @Return: int
     **/
    int batchSaveAqglDrrygkTempInfo(@Param("list") List<TAqglDrrygkTemp> aqglDrrygkTempList) throws Exception;

    /**
     * @Description: 更新当日人员管控数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 15:21
     * @Param: [tAqglDrrygkTemp] 
     * @Return: int
     **/
    int updateAqglDrrygkTempInfo(TAqglDrrygkTemp tAqglDrrygkTemp) throws Exception;

    /**
     * @Description: 分页获取当日人员管控数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 15:25
     * @Param: [aqglSearchVo] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TJjResourcePeakPersonNum>
     **/
    List<TJjResourcePeakPersonNum> getAqglDrrygkTempPageInfo(AqglSearchVo aqglSearchVo) throws Exception;

    /**
     * @Description: 批量删除当日人员管控数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 15:28
     * @Param: [ids] 
     * @Return: int
     **/
    int batchDeleteAqglDrrygkTempInfo(@Param("ids") List<String> ids) throws Exception;

    /**
     * @Description: 获取当日人员管控数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 15:41
     * @Param: [param] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TAqglDrrygkTemp>
     **/
    TAqglDrrygkTemp getAqglDrrygkTempEntity(Map<String,Object> param) throws Exception;

    /**
     * @Description: 根据datetime查询数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 18:33
     * @Param: [datetime] 
     * @Return: java.util.List<java.lang.String>
     **/
    List<String> getAqglDrrygkTempByDateTime(@Param("datetime") String datetime) throws Exception;

}
